﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Policlinica
{
    public class KKF :BusinessObjectBase
    {
        private DateTime _kkfDate;
        private string _diagnosis;
        private Patient _Patient;        

        public KKF()
        {
            this._Patient = default(Patient);
        }

        public KKF(int id, bool isDeleted, DateTime kkfDate, string diagnosis, Patient patient):base(id, isDeleted)
        {
            _kkfDate = kkfDate;
            _diagnosis = diagnosis;
            _Patient = patient;
        }

        public KKF(DateTime kkfDate, string diagnosis, Patient patient)
        {
            _kkfDate = kkfDate;
            _diagnosis = diagnosis;
            _Patient = patient;
        }

        public DateTime KkfDate
        {
            get { return this._kkfDate; }
            set
            {
                if ((this._kkfDate != value))
                {
                    this._kkfDate = value;
                }
            }
        }

       
        public string Diagnosis
        {
            get { return this._diagnosis; }
            set
            {
                if ((this._diagnosis != value))
                {
                    this._diagnosis = value;
                }
            }
        }

       

        public Patient Patient
        {
            get { return this._Patient; }
            set
            {
                Patient previousValue = this._Patient;
                if (previousValue != value)
                {
                    
                    this._Patient = value;
                }
            }
        }
    }


}
